import 'package:flutter/material.dart';
import 'package:flutter_deer/net/base_entity.dart';

class SmsSendProvider extends ChangeNotifier {

  bool? _send = false;
  bool? get send => _send;
  OperatorBaseEntity? _sendResult;
  OperatorBaseEntity? get sendResult => _sendResult;

  void setSendResult(OperatorBaseEntity? result) {
    _sendResult = result;
    _send = _sendResult!.data;
    notifyListeners();
  }
}
